package com.youdoneed.news.model;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "新闻内容对象")
public class CmfPosts {
	
	@ApiModelProperty(value = "新闻文章主键")
    private Long id;
	
	@ApiModelProperty(value = "新闻发布日期，后台用，不展示给前台")
	private Date postDate;
	
	@ApiModelProperty(value = "新闻后台发布者,管理员")
	private Long postAuthor;
	
	@ApiModelProperty(value = "新闻作者id")
	private Long authorId;
	
	@ApiModelProperty(value = "'post状态，1已审核，0未审核,3删除'")
	private Integer postStatus;
	
	@ApiModelProperty(value = "评论数")
	private Long commentCount;
	
	@ApiModelProperty(value = "post点击数，查看数")
	private Integer postHits;
	
	@ApiModelProperty(value = "点赞数")
	private Integer postLike;
	
	@ApiModelProperty(value = "'置顶 1置顶； 0不置顶'")
	private Boolean istop;
	
	@ApiModelProperty(value = "'推荐 1推荐 0不推荐'")
	private Boolean recommended;
	
	@ApiModelProperty(value = "自身内容页布局信息表的主键")
	private Integer layoutId;
	
	@ApiModelProperty(value = "原新闻链接")
	private String newsUrl;
	
	@ApiModelProperty(value = "新闻发布时间，前台显示")
	private Integer showDate;
	
	@ApiModelProperty(value = "是否为视频")
	private Integer isVideo;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getPostDate() {
		return postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public Long getPostAuthor() {
		return postAuthor;
	}

	public void setPostAuthor(Long postAuthor) {
		this.postAuthor = postAuthor;
	}

	public Long getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Long authorId) {
		this.authorId = authorId;
	}

	public Integer getPostStatus() {
		return postStatus;
	}

	public void setPostStatus(Integer postStatus) {
		this.postStatus = postStatus;
	}

	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getPostHits() {
		return postHits;
	}

	public void setPostHits(Integer postHits) {
		this.postHits = postHits;
	}

	public Integer getPostLike() {
		return postLike;
	}

	public void setPostLike(Integer postLike) {
		this.postLike = postLike;
	}

	public Boolean getIstop() {
		return istop;
	}

	public void setIstop(Boolean istop) {
		this.istop = istop;
	}

	public Boolean getRecommended() {
		return recommended;
	}

	public void setRecommended(Boolean recommended) {
		this.recommended = recommended;
	}

	public Integer getLayoutId() {
		return layoutId;
	}

	public void setLayoutId(Integer layoutId) {
		this.layoutId = layoutId;
	}

	public String getNewsUrl() {
		return newsUrl;
	}

	public void setNewsUrl(String newsUrl) {
		this.newsUrl = newsUrl;
	}

	public Integer getShowDate() {
		return showDate;
	}

	public void setShowDate(Integer showDate) {
		this.showDate = showDate;
	}

	public Integer getIsVideo() {
		return isVideo;
	}

	public void setIsVideo(Integer isVideo) {
		this.isVideo = isVideo;
	}

}